Skip to content

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Oct 8, 2025

Noticed while trying to figure out #6681. cf. #t-rustfmt > Is `// rustfmt-* = value` a valid "significant" test comment.

  • Fix tests/source/issue-1278.rs test headers: key = value is not a valid significant test comment form, the value must be Block not double-quoted "block" or "Block".

`key = value` is not a valid significant test comment form, the value
must be `Block` not double-quoted `"block"` or `"Block"`.
@fee1-dead
Copy link
Member

Remove tests/target/issue-2401.rs: the source corresponding test does not exist anymore.

This is an idempotence test. There are many tests that are this way. It just requires rustfmt does not change the test.

@jieyouxu
Copy link
Member Author

jieyouxu commented Oct 8, 2025

Ah, my apologies, that wasn't super obvious. I'll drop that commit.

@ytmimi ytmimi merged commit 5e937e0 into rust-lang:master Oct 8, 2025
26 checks passed
@jieyouxu jieyouxu deleted the fix-test branch October 8, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants